projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8285276
)
spi: sh_qspi: Add header file that defines the address of registers
author
Nobuhiro Iwamatsu
<
[email protected]
>
Wed, 8 Jan 2014 01:16:25 +0000
(10:16 +0900)
committer
Nobuhiro Iwamatsu
<
[email protected]
>
Wed, 15 Jan 2014 23:07:20 +0000
(08:07 +0900)
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
Reviewed-by: Jagannadha Sutradharudu Teki <
[email protected]
>
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
drivers/spi/sh_qspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/sh_qspi.c
b/drivers/spi/sh_qspi.c
index edeb42d03888c202fe54141e34a75dc789b6d840..77ede6bba3a5d9655a7bc46be8dca39d70d2834d 100644
(file)
--- a/
drivers/spi/sh_qspi.c
+++ b/
drivers/spi/sh_qspi.c
@@
-10,6
+10,7
@@
#include <common.h>
#include <malloc.h>
#include <spi.h>
+#include <asm/arch/rmobile.h>
#include <asm/io.h>
/* SH QSPI register bit masks <REG>_<BIT> */
@@
-170,7
+171,7
@@
struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
return NULL;
}
- ss->regs = (struct sh_qspi_regs *)
CONFIG_
SH_QSPI_BASE;
+ ss->regs = (struct sh_qspi_regs *)SH_QSPI_BASE;
/* Init SH QSPI */
sh_qspi_init(ss);